Freescale Semiconductor /MKV58F24 /SystemControl /CFSR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CFSR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (0)IACCVIOL 0 (0)DACCVIOL 0 (0)MUNSTKERR 0 (0)MSTKERR 0 (0)MLSPERR 0 (0)MMARVALID 0 (0)IBUSERR 0 (0)PRECISERR 0 (0)IMPRECISERR 0 (0)UNSTKERR 0 (0)STKERR 0 (0)LSPERR 0 (0)BFARVALID 0 (0)UNDEFINSTR 0 (0)INVSTATE 0 (0)INVPC 0 (0)NOCP 0 (0)UNALIGNED 0 (0)DIVBYZERO

UNSTKERR=0, MUNSTKERR=0, LSPERR=0, UNDEFINSTR=0, STKERR=0, DIVBYZERO=0, MLSPERR=0, NOCP=0, IBUSERR=0, IACCVIOL=0, DACCVIOL=0, INVSTATE=0, IMPRECISERR=0, BFARVALID=0, UNALIGNED=0, MMARVALID=0, PRECISERR=0, MSTKERR=0, INVPC=0

Description

Configurable Fault Status Register

Fields

IACCVIOL

Instruction access violation flag

0 (0): no instruction access violation fault

1 (1): the processor attempted an instruction fetch from a location that does not permit execution

DACCVIOL

Data access violation flag

0 (0): no data access violation fault

1 (1): the processor attempted a load or store at a location that does not permit the operation

MUNSTKERR

MemManage fault on unstacking for a return from exception

0 (0): no unstacking fault

1 (1): unstack for an exception return has caused one or more access violations

MSTKERR

MemManage fault on stacking for exception entry

0 (0): no stacking fault

1 (1): stacking for an exception entry has caused one or more access violations

MLSPERR

MemManage fault occurred during floating-point lazy state preservation

0 (0): No MemManage fault occurred during floating-point lazy state preservation

1 (1): A MemManage fault occurred during floating-point lazy state preservation

MMARVALID

MemManage Fault Address Register (MMFAR) valid flag

0 (0): value in MMAR is not a valid fault address

1 (1): MMAR holds a valid fault address

IBUSERR

Instruction bus error

0 (0): no instruction bus error

1 (1): instruction bus error

PRECISERR

Precise data bus error

0 (0): no precise data bus error

1 (1): a data bus error has occurred, and the PC value stacked for the exception return points to the instruction that caused the fault

IMPRECISERR

Imprecise data bus error

0 (0): no imprecise data bus error

1 (1): a data bus error has occurred, but the return address in the stack frame is not related to the instruction that caused the error

UNSTKERR

BusFault on unstacking for a return from exception

0 (0): no unstacking fault

1 (1): unstack for an exception return has caused one or more BusFaults

STKERR

BusFault on stacking for exception entry

0 (0): no stacking fault

1 (1): stacking for an exception entry has caused one or more BusFaults

LSPERR

Bus fault occurred during floating-point lazy state preservation

0 (0): No bus fault occurred during floating-point lazy state preservation

1 (1): A bus fault occurred during floating-point lazy state preservation

BFARVALID

BusFault Address Register (BFAR) valid flag

0 (0): value in BFAR is not a valid fault address

1 (1): BFAR holds a valid fault address

UNDEFINSTR

Undefined instruction UsageFault

0 (0): no undefined instruction UsageFault

1 (1): the processor has attempted to execute an undefined instruction

INVSTATE

Invalid state UsageFault

0 (0): no invalid state UsageFault

1 (1): the processor has attempted to execute an instruction that makes illegal use of the EPSR

INVPC

Invalid PC load UsageFault, caused by an invalid PC load by EXC_RETURN

0 (0): no invalid PC load UsageFault

1 (1): the processor has attempted an illegal load of EXC_RETURN to the PC

NOCP

No coprocessor UsageFault

0 (0): no UsageFault caused by attempting to access a coprocessor

1 (1): the processor has attempted to access a coprocessor

UNALIGNED

Unaligned access UsageFault

0 (0): no unaligned access fault, or unaligned access trapping not enabled

1 (1): the processor has made an unaligned memory access

DIVBYZERO

Divide by zero UsageFault

0 (0): no divide by zero fault, or divide by zero trapping not enabled

1 (1): the processor has executed an SDIV or UDIV instruction with a divisor of 0

Links

() ()